package com.tomcov.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class MessageOutPlace extends Place{
	
	private String MessageOutName;

    public MessageOutPlace(String token) {
        this.MessageOutName = token;
    }

    public String getMessageOutName() {
        return MessageOutName;
    }


    public static class Tokenizer implements PlaceTokenizer<MessageOutPlace> {
        @Override
        public String getToken(MessageOutPlace place) {
            return place.getMessageOutName();
        }

        @Override
        public MessageOutPlace getPlace(String token) {
            return new MessageOutPlace(token);
        }
    }


}
